package qc.common.core.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 数据值操作类型枚举，用于记录日志使用
 *
 * @author QuCheng Tech
 * @since 2024/2/21
 */
@Getter
@AllArgsConstructor
public enum DataValueOperateTypeEnum {
    UPDATE(0, "更新"),
    INSERT(1, "插入"),
    DELETE(2, "删除");

    @EnumValue
    private int index;
    private String name;
}
